# coding=utf-8
for n in range(2, 10):
    for x in range(2, n):
        # if n % x == 0:
            # break
        pass
    else:
        print n, 'is a prime number'
